﻿<%@ Page Language="C#" MasterPageFile="~/Customer/MMcustomer.Master" AutoEventWireup="true"
    CodeBehind="Csim.aspx.cs" Inherits="MobileManager.Customer.Csim" Title="客户查询系统" %>

<%@ Register Src="~/UserControl/ProvinceListQuick.ascx" TagName="Province" TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="../CSS/jquery.combobox.css" type="text/css" />

    <script type="text/javascript" src="../Js/jquery.js"></script>

    <script type="text/javascript" src="../Js/jquery.bgiframe.pack.js"></script>

    <script type="text/javascript" src="../Js/jquery.combobox.js"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="width: 95%; text-align: center; font-size: 12px; margin-top: 15px;">
        <table>
            <tr>
                <td style="text-align: right;">
                    客户编号：
                </td>
                <td style="text-align: left;">
                    <asp:DropDownList ID="ddlCustomer" runat="server" CssClass="dropnormal">
                    </asp:DropDownList>
                </td>
                <td style="text-align: right;">
                    运营商编号：
                </td>
                <td style="text-align: left">
                    <asp:DropDownList ID="ddlODEP" runat="server" CssClass="dropnormal">
                    </asp:DropDownList>
                </td>
                <td style="text-align: right;">
                    省份：
                </td>
                <td style="text-align: left">
                    <uc2:Province ID="txtProvince" runat="server" />
                </td>
                <td style="text-align: right;">
                    IMSI：
                </td>
                <td style="text-align: left;">
                    <asp:TextBox ID="txtIMSI" runat="server" CssClass="txtBoxNormal" MaxLength="20"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="8" align="center">
                    <asp:DropDownList ID="ddlOrder" runat="server">
                        <asp:ListItem Value="CNO" Text="客户编号" Selected="True"></asp:ListItem>
                        <asp:ListItem Value="ProvinceName" Text="省份"></asp:ListItem>
                        <asp:ListItem Value="IMSI" Text="IMSI"></asp:ListItem>
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlAD" runat="server">
                        <asp:ListItem Value="ASC" Text="升序"></asp:ListItem>
                        <asp:ListItem Value="DESC" Text="降序" Selected="True"></asp:ListItem>
                    </asp:DropDownList>
                    &nbsp;&nbsp;
                    <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                        OnClick="btnQuery_Click" />
                    &nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnQueryAll" runat="server" Text="全部显示" CssClass="button_green" Width="70px"
                        OnClick="btnQueryAll_Click" />
                </td>
            </tr>
        </table>
        <br />
        <div style="text-align: left;">
            <asp:Label ID="lbCount" runat="server"></asp:Label>
        </div>
        <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
            Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" Width="100%"
            AllowPaging="True" OnPageIndexChanging="GVinfo_PageIndexChanging" PageSize="20">
            <Columns>
                <asp:TemplateField HeaderText="客户编号">
                    <ItemTemplate>
                        <asp:Label ID="lbCNO" runat="server" Text='<%# Bind("CNO") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="运营商">
                    <ItemTemplate>
                        <asp:Label ID="lbOName" runat="server" Text='<%# Bind("OName") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="省份">
                    <ItemTemplate>
                        <asp:Label ID="lbProvinceName" runat="server" Text='<%# Bind("ProvinceName") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="城市名">
                    <ItemTemplate>
                        <asp:Label ID="lbCityName" runat="server" Text='<%# Bind("CityName") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
                <asp:TemplateField HeaderText="IMSI">
                    <ItemTemplate>
                        <asp:Label ID="lbIMSI" runat="server" Text='<%# Bind("IMSI") %>'></asp:Label>
                    </ItemTemplate>
                    <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                    <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                </asp:TemplateField>
            </Columns>
            <EmptyDataTemplate>
                <span style="color: Red; font-weight: bold;">没有数据！</span>
            </EmptyDataTemplate>
        </asp:GridView>
    </div>
</asp:Content>
